﻿<UserControl
    x:Class="Notepads.Controls.Markdown.MarkdownExtensionView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:controls="using:Notepads.Controls"
    mc:Ignorable="d"
    Background="{ThemeResource SystemControlForegroundTransparentBrush}">

    <Grid>
        <ScrollViewer x:Name="MarkdownScrollViewer"
                      Margin="0"
                      Padding="8"
                      BorderBrush="Transparent"
                      BorderThickness="0"
                      HorizontalScrollBarVisibility="Auto"
                      VerticalScrollBarVisibility="Auto">
            <controls:MarkdownTextBlock x:Name="MarkdownTextBlock"
                                        Margin="0"
                                        Padding="0"
                                        Background="Transparent"
                                        Header1Foreground="{StaticResource SystemControlForegroundAccentBrush}"
                                        LinkForeground="{StaticResource SystemControlForegroundAccentBrush}"/>
        </ScrollViewer>
    </Grid>
</UserControl>
